package com.lenovo.lcdm.access.dto;

import com.lenovo.lcdm.team.entity.TeamGroup;
import com.lenovo.lcdm.team.entity.TeamRole;

import java.util.List;

/**
 * @Auther xujing30
 * @Date 2024/02/05
 * @Description 用户基本信息及权限信息
 */
public class UserInfoDto {

    private String itCode;

    private String username;

    private String email;

    private Integer enabled;

    private List<TeamGroup> groups;

    private List<TeamRole> roles;

    private MenuPolicyTreeDto menuPolicyTreeDto;

    public String getItCode() {
        return itCode;
    }

    public void setItCode(String itCode) {
        this.itCode = itCode;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    public List<TeamGroup> getGroups() {
        return groups;
    }

    public void setGroups(List<TeamGroup> groups) {
        this.groups = groups;
    }

    public List<TeamRole> getRoles() {
        return roles;
    }

    public void setRoles(List<TeamRole> roles) {
        this.roles = roles;
    }

    public MenuPolicyTreeDto getMenuPolicyTreeDto() {
        return menuPolicyTreeDto;
    }

    public void setMenuPolicyTreeDto(MenuPolicyTreeDto menuPolicyTreeDto) {
        this.menuPolicyTreeDto = menuPolicyTreeDto;
    }
}
